/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_dark_oak_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/redhorn_guild/redhorn_guild")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/tinkers_citadel/tinkers_citadel_vault")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/additional_treasure_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betteroceanmonuments:chests/upper_side_chamber")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterstrongholds:chests/cmd_yung")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/end_ruins_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mushroom_house/mushroom_house_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/witch_tower")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("apotheosis:chests/spawner_brutal_rotate")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/bearclaw_inn/bearclaw_inn_food")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/monastery/monastery_map")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/level_three_ruins_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedstorage:blocks/gold_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/flying_dutchman")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdeserttemples:chests/tomb")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mechanical_nest/mechanical_nest_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ruins_of_the_deep/ruins_bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/foundry/foundry_passage_exterior")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/dig_site/dig_site_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("lootintegrations:chests/village")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/cherry_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/tinkers_citadel/tinkers_citadel")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/plague_asylum/plague_asylum_potions")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:skull_of_flame").withChance(7)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_purpur_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_campsite/illager_campsite_map")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/tree_house/roof")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/abandoned_mineshaft")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/underwater_ruin_big")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/farmhouse/farmhouse_food")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/warped_garden/rare")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:chests/campsite_barrel")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/shater")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/bronze/bronze_dungeon_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:blocks/chest_mimic")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/foundry/foundry_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/lost_soul_city_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/tinkers_workshop/tinkers_workshop_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/castle/castle_food")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/tinkers_workshop/tinkers_workshop_vault")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/acacia_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/scorched_mines/scorched_mines_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_galley/illager_galley_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/ruined_portal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_spruce_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/tower/vex")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/foundry/foundry_passage_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/beekeepers_house/beekeepers_bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/igloo_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/monster_maze/brewery")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/tinkers_citadel/tinkers_citadel_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/giant_mushroom/red_giant_mushroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/bronze/bronze_dungeon_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/leviathan/rare")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/winter_wagon/winter_wagon_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/birch_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/prismarine_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ruins_of_the_deep/ruins_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/catacombs/wall_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:skull_of_flame").withChance(7)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/bandit_towers/bandit_towers_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("ars_additions:chests/arcane_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/black_citadel/normal_alt")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/oak_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/ocean_ruins_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/castle/prison")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_nether_brick_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/aviary/aviary_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/hunters_cabin/hunters_cabin_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/silver/silver_dungeon_valkyrie")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/pirate_junk/pirate_junk_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:chests/campsite_barrel/ores")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/labyrinth/labyrinth_tomb")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdeserttemples:chests/tomb_pharaoh")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/bazaar/bazaar_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("lootintegrations:chests/nether")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/silver/silver_dungeon_trash")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/infested_temple/infested_temple_room_table")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/hay_storage")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_shepherd")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_azalea_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mushroom_mines/mushroom_mines_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/soul_prison/rare")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/heavenly_challenger/heavenly_challenger_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/farmhouse/farmhouse_mill")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/mountain_tower/mountain_tower")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/foundry/foundry_chains")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/castle/castle_throne")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedstorage:blocks/netherite_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:chests/campsite_barrel/cobblestone")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("forbidden_arcanus:chests/additions/artisan_relic_addition")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/pirate_junk/pirate_junk_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_armorer")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/beekeepers_house/beekeepers_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/buried_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/village/village_plains_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ancient_statue/ancient_statue_jungle")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("apotheosis:chests/spawner_swarm")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ruins_of_the_deep/ruins_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_acacia_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/nexus/nexus")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/small_blimp/small_blimp_redstone_chamber")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/bronze/bronze_dungeon_neptune")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/pillager_camp/kitchen")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterstrongholds:chests/trap")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/small_prairie_house/small_prairie_house_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/warped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("bygonenether:chests/citadel")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/heavenly_challenger/heavenly_challenger_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeoncrawl:chests/forge")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/sculk_dungeon_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/bandit_village/bandit_village_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_corsair/illager_corsair_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/castle/castle_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdeserttemples:chests/library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/woodland_mansion")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_oak_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/pillager_fortress/pillager_bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("forbidden_arcanus:chests/additions/abandoned_mineshaft_additions")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/dark_oak_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_temple")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/black_citadel/treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ruins_of_the_deep/ruins_create")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/foundry/foundry_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterfortresses:chests/quarters")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/spruce_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/impaled_icebreaker/captain_quarters")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("ars_nouveau:blocks/archwood_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_bamboo_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("reliquary:inject/chests/end_city_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/enchantingtower/enchantingtower_basic_ars")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/greenwood_pub/greenwood_pub_barrels_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/stronghold_corridor")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:chests/campsite_barrel/ingots")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/infested_temple/infested_temple_room_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("ars_additions:chests/ruined_portal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_mangrove_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/pirate_junk/pirate_junk_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/bandit_towers/bandit_towers_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("wrd:endstone_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/brickhouse/brickhouse_windmill")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_plains_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_windmill/illager_windmill_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/brickhouse/brickhouse_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/nether_bridge")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_butcher")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterfortresses:chests/extra")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/abandoned_temple/abandoned_temple_entrance")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/train_ruins/train_ruins")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/ice_pit/armory")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/bronze/bronze_dungeon")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/ruined_portal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/plague_asylum/plague_asylum_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedstorage:blocks/iron_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/pillager_fortress/pillager_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdungeons:skeleton_dungeon/chests/common")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/castle/spring")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/tinkers_citadel/tinkers_citadel_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_nether_brick_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("reliquary:inject/chests/igloo_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/azalea_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/silver/silver_dungeon_reward")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/stables")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_corsair/illager_corsair_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/evoker_fort/guard_tower")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/warped_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("tconstruct:blocks/part_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/jungle_tree_house/jungle_tree_house_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/infested_temple/infested_temple_room_garden")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/enchantingtower/enchantingtower_top")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/catacombs/crypt_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:blocks/ender_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/shiraz_palace/shiraz_palace_gardens")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/merchant_campsite/merchant_campsite_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_azalea_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/chest_level_1")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_cartographer")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/chest_level_2")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/monster_maze/prison")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/chest_level_3")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/desert_pyramid")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/scorched_mines/scorched_mines_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_prismarine_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_cherry_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/castle/throne")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/stronghold_corridor")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeoncrawl:chests/library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("wrd:chests/endpalacelootable")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/bamboo_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterstrongholds:chests/crypt")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/abandonedhouse/abandonedhouse")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/silver/silver_dungeon_disc")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/bastion_hoglin_stable")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/tower/barrel")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/victory_frigate/victory_frigate_normal_upper")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdeserttemples:chests/pharaoh_hidden")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/desert_pyramid/desert_pyramid_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/heavenly_rider/heavenly_rider_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mechanical_nest/mechanical_nest_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/desert_pyramid/desert_pyramid_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/bone_dungeon_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/apothecary_abode/apothecary_abode")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/bandit_towers/bandit_towers_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/heavenly_challenger/heavenly_challenger_theater")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterjungletemples:chests/campsite")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/greenwood_pub/greenwood_pub_barrels_hallways")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:blocks/trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/mushroom_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/hermits_hollow/hollow_food")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_ancient_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/small_yacht/small_yacht_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mushroom_mines/mushroom_mines_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeoncrawl:chests/secret_room")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/dig_site/dig_site_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mines_treasure_small")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/sunken_shrine")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/corsair_corvette/corsair_corvette_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/small_prairie_house/small_prairie_house_ruined")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterfortresses:chests/hall")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/jungle_tree_house/jungle_tree_house_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/treetop_tavern/treetop_tavern")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/spawn_bonus_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/small_blimp/small_blimp_coal_storage")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/birch_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("wrd:cursed_chests")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/gold/gold_dungeon_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/hermits_hollow/hollow_bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterstrongholds:chests/prison_lg")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("ars_additions:chests/nexus_tower")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/jungle_temple_dispenser")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/fishing_hut/fishing_hut_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/infested_temple/infested_temple_room_bookshelf")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/infested_temple/infested_temple_room_forge")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/simple_dungeon")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/victory_frigate/victory_frigate_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/monster_maze/treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/heavenly_rider/heavenly_rider_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/lighthouse/lighthouse_top")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/shipwreck_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/pyromancer_tower/old_cask")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/deep_crypt")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/village/village_tannery")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("awesomedungeonnether:chests/awesome_dungeon")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_fort/illager_fort_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/bastion_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/castle/quarters")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ancient_statue/ancient_statue_treasure_desert")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/dig_site/dig_site")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedstorage:blocks/chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/tower/common")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mushroom_mines/mushroom_mines_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/unicorn_galleon/unicorn_galleon_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/hunters_cabin/hunters_cabin")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_fort/illager_fort_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/scorched_mines/scorched_mines_housing")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/catacombs/coffin_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:skull_of_flame").withChance(7)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/desert_pyramid")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/haunted_manor/haunted_manor_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_fletcher")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_galley/illager_galley_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_birch_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("forbidden_arcanus:chests/additions/elementarium_addition")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_birch_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/train_ruins/train_ruins_create")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/merchant_campsite/merchant_campsite_map")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdungeons:skeleton_dungeon/chests/middle")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mushroom_house/mushroom_house_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/bandit_towers/bandit_towers_rooms")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeoncrawl:chests/stage_5")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/bronze/bronze_dungeon_trash")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_corsair/illager_corsair_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeoncrawl:chests/stage_1")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/fishermans_lodge/fishermans_lodge_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_cherry_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/reanimated_ruins/desert")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeoncrawl:chests/stage_2")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeoncrawl:chests/stage_3")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/greenwood_pub/greenwood_pub_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeoncrawl:chests/stage_4")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/archmages_tower/archmages_tower_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/small_yacht/small_yacht_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ancient_portal/ancient_portal_nether")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/ancient_city_ice_box")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/village/village_snowy_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/keep_kayra/keep_kayra_garden_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/pillager_camp/general")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("forbidden_arcanus:chests/additions/end_city_treasure_additions")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/bandit_village/bandit_village_tents")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_fort/illager_fort_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ancient_statue/ancient_statue_treasure_plains")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/desert_pyramid/desert_pyramid_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("lootintegrations:chests/easy")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/mangrove_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mushroom_village/mushroom_village_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/end_city_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/ice_pit/bed")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("reliquary:inject/chests/nether_bridge")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/witches_treestump/witches_treestump")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mines_treasure_medium")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_windmill/illager_windmill_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdeserttemples:chests/storage")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/tinkers_citadel/tinkers_citadel_create")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/tree_of_wisdom/tree_of_wisdom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/pirate_junk/pirate_junk_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/monastery/monastery_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/reanimated_ruins/desert_map")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeoncrawl:chests/food")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/ocean_ruin_fortress")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:chests/campsite_barrel/crops")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/small_prairie_house/small_prairie_house_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mining_system/mining_system_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/shiraz_palace/shiraz_palace_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/woodland_mansion")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/archmages_tower/archmages_tower")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/abandoned_temple/abandoned_temple_map")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/bandit_village/bandit_village_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/ancient_ruins")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/bathhouse/bathhouse_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/blossom_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:chests/campsite_barrel/rails")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/plague_asylum/plague_asylum_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_spruce_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/ice_pit/food")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_weaponsmith")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_jungle_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/necromancers_spire/necromancers_spire")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_mason")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/jungle_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/shiraz_palace/shiraz_palace_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/mangrove_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/archmages_tower/archmages_tower_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/keep_kayra/keep_kayra_library_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/spruce_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/catacombs/hidden_trough_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:skull_of_flame").withChance(7)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("mowziesmobs:chests/umvuthana_grove_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/pyromancer_tower/fire_ale_cask")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:chests/campsite_barrel/tnt")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdeserttemples:chests/wardrobe")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/purpur_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mining_system/mining_system_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("apotheosis:chests/spawner_brutal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/enchantingtower/enchantingtower_top_ars")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("formationsnether:large_house/chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/village/village_armorer")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/generic_magic_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/bandit_towers/bandit_towers_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/ice_pit/hall")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/heavenly_challenger/heavenly_challenger_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("majruszsenchantments:chests/ancient_city_sixth_sense")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/desert_pyramid/desert_pyramid_surface")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/foundry/foundry_lava_pit")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/firewell_d")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/abandoned_temple/abandoned_temple_top")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/wheat")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/bastion_other")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("lootintegrations:chests/water")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/bathhouse/bathhouse_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/typhon/typhon_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/nether_brick_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/bazaar/bazaar_food")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/warped_garden/common")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/unicorn_galleon/unicorn_galleon_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/silver/silver_dungeon_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/silver/silver_dungeon_gravitite")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedbackpacks:inject/chests/nether_bridge")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/pillager_outpost")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("apotheosis:chests/chest_valuable")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/large_dungeon")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/castle/bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/blossom_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/soul_prison/golden_armor")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/ceryneian_hind/ceryneian_hind_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/tower/vex_map")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/ancient_city")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/reanimated_ruins/frozen")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mushroom_village/mushroom_village_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("lootr:blocks/lootr_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/thornborn_towers/thornborn_towers_top_rooms")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/village/village_temple")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/badlands_dungeon_loot_high")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdungeons:small_dungeon/chests/loot_piles")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ancient_portal/ancient_portal_overworld")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/bronze/bronze_dungeon_reward")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("wrd:bone_chest_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/sunken_ship/sunken_ship_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/elders_temple/main")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/corsair_corvette/corsair_corvette_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/farmhouse/farmhouse")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ancient_statue/ancient_statue_treasure_jungle")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ruins_of_the_deep/ruins_basic")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ruins_of_the_deep/ruins_food")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/labyrinth/labyrinth_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/victory_frigate/victory_frigate_normal_lower")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/redhorn_guild/redhorn_guild_bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/soul_prison/common")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/haunted_manor/haunted_manor_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/mountain_tower/ice_barrel")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/small_blimp/small_blimp_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/jungle_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_oak_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/mangrove_hut/hidden_potion_storage")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/battleground/piglin_camp")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ruins_of_the_deep/ruins_ocean")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_bamboo_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/purpur_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedbackpacks:inject/chests/woodland_mansion")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/evoker_fort")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/shipwreck_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/monster_maze/church")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/undead_pirate_ship/undead_pirate_ship_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:blocks/treasure_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/thornborn_towers/thornborn_towers_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("tconstruct:blocks/tinkers_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterjungletemples:chests/treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterfortresses:chests/storage")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/ruined_portal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/apothecary_abode/apothecary_abode_books")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterfortresses:chests/obsidian")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/corsair_corvette/corsair_corvette_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedbackpacks:inject/chests/desert_pyramid")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_taiga_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterstrongholds:chests/common")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/keep_kayra/keep_kayra_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/impaled_icebreaker/food_barrel")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:chests/campsite_barrel/gems")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/component_storage")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/tinkers_workshop/tinkers_workshop")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedbackpacks:inject/chests/end_city_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedbackpacks:inject/chests/simple_dungeon")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdungeons:zombie_dungeon/chests/special")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/enchantingtower/enchantingtower_basic")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/village/village_taiga_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/castle/library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/ancient_city")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/level_one_ruins_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_ancient_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/jungle_tree_house/jungle_tree_house_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/bearclaw_inn/bearclaw_inn_bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdungeons:small_nether_dungeon/chests/common")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/bastion_hoglin_stable")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/wizardtower/wizardtower_top")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("forbidden_arcanus:chests/additions/maledictus_pact_addition")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/spawn_bonus_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_blossom_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/ice_pit/garden")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/abandonedhouse/abandonedhouse_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/heavenly_conqueror/heavenly_conqueror_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:chests/campsite_barrel/minecarts")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/shipwreck_map")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/sunken_ship/sunken_ship_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdungeons:zombie_dungeon/chests/tombstone")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/heavenly_conqueror/heavenly_conqueror_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("reliquary:inject/chests/jungle_temple")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/castle/castle")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/snowy_temple/rare")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/bamboo_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/desert_tomb")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/pirate_ship")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/reanimated_ruins/common")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeoncrawl:chests/supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/wizardtower/wizardtower_basic")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/acacia_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdungeons:zombie_dungeon/chests/common")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/bazaar/bazaar")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("reliquary:inject/chests/abandoned_mineshaft")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/shiraz_palace/shiraz_palace_rooms")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdeserttemples:chests/lab")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/frozen_crypt/frozen_crypt")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/magic_bookshelf_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/labyrinth/labyrinth_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/tree_house/kitchen")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_prismarine_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/plague_asylum/plague_asylum_storage")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mines_treasure_big")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/elders_temple/elder_room")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/ancient_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_savanna_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("reliquary:inject/chests/village/village_weaponsmith")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/underwater_ruin_big")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/abandoned_mineshaft")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("lootintegrations:chests/hard")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/aviary/aviary_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mushroom_house/mushroom_house_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("explorify:chest/mausoleum_pot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/shipwreck_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/monastery/monastery_bridges")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/silver/silver_dungeon_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/black_citadel/normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("wrd:endstone_dungeon_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/leviathan/common")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_warped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("reliquary:inject/chests/stronghold_crossing")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/dig_site/dig_site_desert")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterfortresses:chests/keep")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("lootr:blocks/lootr_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("lootr:chests/elytra")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterstrongholds:chests/armoury")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/village/village_savanna_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_crimson_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/ruined_building")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/desert_pyramid/desert_pyramid_tomb")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/farmhouse/farmhouse_bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedbackpacks:inject/chests/shipwreck_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/silver/silver_dungeon_gummies")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedstorage:blocks/diamond_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ruins_of_the_deep/ruins_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/pyromancer_tower/burnt_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/shiraz_palace/shiraz_palace_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/crimson_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/ancient_city_ice_box")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedbackpacks:inject/chests/abandoned_mineshaft")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mushroom_mines/mushroom_mines_ores")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_crimson_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/merchant_campsite/merchant_campsite_tent")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterfortresses:chests/beacon")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/nether_lava_ruins_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdeserttemples:chests/food_storage")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/keep_kayra/keep_kayra_library_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("wrd:final_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_dark_oak_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/treetop_tavern/treetop_tavern_food")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/village/village_toolsmith")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/haunted_manor/haunted_manor")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/end_city_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/haunted_manor/haunted_manor_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/wizardtower/wizardtower_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/badlands_dungeon_loot_low")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/hunters_cabin/hunters_cabin_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/nether_brick_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/plague_asylum/plague_asylum_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/treetop_tavern/treetop_tavern_bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/prismarine_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/bookshelf_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/jungle_temple")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterstrongholds:chests/grand_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/shiraz_palace/shiraz_palace_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:chests/campsite_barrel/food")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/desert_pyramid/desert_pyramid")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/citadel/wall_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/brickhouse/brickhouse")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/castle/kitchen")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_blossom_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mechanical_nest/mechanical_nest_equipment")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/silver/silver_dungeon_cape_config")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/basic_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/farm_drop")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/keep_kayra/keep_kayra_garden_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_acacia_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/priest_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/heavenly_conqueror/heavenly_conqueror_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_warped_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/snowy_temple/common")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/thornborn_towers/thornborn_towers_top_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/nether_bridge")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/sewer_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("kobolds:chests/iron_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_mangrove_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/mechanical_nest/mechanical_nest_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedbackpacks:inject/chests/bastion_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/ancient_ruins_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/jungle_monument/floor")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("wrd:treasure_chest_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/castle/armory")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("sophisticatedstorage:blocks/copper_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/labyrinth/labyrinth_croc")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/tinkers_citadel/tinkers_citadel_bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/labyrinth/labyrinth")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("awesomedungeonend:chests/awesome_dungeon")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/dark_oak_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/gold/gold_dungeon_reward")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/undead_pirate_ship/undead_pirate_ship_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/castle/coffin")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/crimson_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/bastion_bridge")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdungeons:spider_dungeon/chests/egg_room")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/train_ruins/train_ruins_bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/beekeepers_house/beekeepers_food")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/jungle_monument/treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/scorched_mines/scorched_mines_hub")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/ruin_loot_value")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/oak_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/shiraz_palace/shiraz_palace_elite")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("kobolds:chests/kobold_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("tconstruct:blocks/cast_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/tinkers_workshop/tinkers_workshop_basic")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/heavenly_rider/heavenly_rider_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/watch_tower")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ancient_mines/minesbasic")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/additional_good_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdeserttemples:chests/pot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/tower_of_the_undead/treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_jungle_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:chests/campsite_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_campsite/illager_campsite_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/azalea_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterdeserttemples:chests/statue")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/ruined/house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_purpur_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/bronze/bronze_dungeon_disc")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("reliquary:inject/chests/stronghold_corridor")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/black_citadel/kitchen")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/plague_asylum/plague_asylum_cells")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/igloo_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:blocks/chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/pillager_fortress/pillager_basic")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ancient_mines/mineshall")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/cottage/cottage")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/nether_ruins_low")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("explorify:chest/dark_forest_settlement")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/scorched_mines/scorched_mines_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterwitchhuts:chests/hut_0")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/giant_mushroom/twin_giant_mushroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/victory_frigate/victory_frigate_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:chests/campsite_barrel/cobwebs")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/abandonedhouse/abandonedhouse_create")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/fishing_ship")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/pillager_fortress/pillager_jail")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/additional_ancient_city_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/village/village_butcher")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/small_yacht/small_yacht_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("apotheosis:chests/tome_tower")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterfortresses:chests/puzzle")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/village/village_weaponsmith")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/infested_temple/infested_temple_room_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/thornborn_towers/thornborn_towers_rooms")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/pillager_outpost")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/ancient_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/mangrove_hut")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_snowy_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/jungle_temple")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_tannery")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_galley/illager_galley_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/bandit_towers/bandit_towers_gardens")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/stronghold_crossing")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/illager_campsite/illager_campsite_tent")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterstrongholds:chests/mess")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/pyromancer_tower/fire_ale_trove")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("reliquary:inject/chests/stronghold_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("bygonenether:chests/catacomb/treasure_rib")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/reanimated_ruins/frozen_map")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/treetop_tavern/treetop_tavern_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("lootintegrations:chests/medium")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/bronze/bronze_dungeon_gummies")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/aviary/aviary_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/redhorn_guild/redhorn_guild_tools")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("forbidden_arcanus:chests/additions/crimson_stone_addition")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/castle/castle_bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/cherry_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterstrongholds:chests/treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/additional_nether_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/pyromancer_tower/pyromancer_supplies")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterfortresses:chests/worship")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/stronghold_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/bastion_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/reanimated_ruins/mossy")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/underwater_ruin_small")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeoncrawl:chests/treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/bandit_village/bandit_village_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/ruin_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/victory_frigate/victory_frigate_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/winter_wagon/winter_wagon")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("reliquary:inject/chests/simple_dungeon")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/fishermans_lodge/fishermans_lodge")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("wrd:chests/purpur_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/undead_pirate_ship/undead_pirate_ship_enchants")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("artifacts:inject/chests/village/village_desert_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/black_citadel/treasure_alt")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/miners_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("explorify:chest/supply_cache")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/buried_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("betterstrongholds:chests/library_md")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/mangrove_hut/potion_ingredient_storage")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/pillager_camp/pillager_camp")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/pyromancer_tower/pyromancer_basic_storage")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_fisher")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/enchantingtower/enchantingtower_library")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/keep_kayra/keep_kayra_normal")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("forbidden_arcanus:chests/additions/simple_dungeon_additions")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("philipsruins:chest/desert_pyramid_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/tinkers_workshop/tinkers_workshop_bedroom")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/battleground/burial_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/filler_storage_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/infested_temple/infested_temple_top_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/shiraz_palace/shiraz_palace_towers")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_toolsmith")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise:chests/undead_pirate_ship/undead_pirate_ship_supply")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("aether:chests/dungeon/silver/silver_dungeon")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("artifacts:cloud_in_a_bottle").withChance(8),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:glowing_bread").withChance(8),
				Item.of("aether:lightning_knife").withChance(10),
				Item.of("aether:pig_slayer").withChance(3),
				Item.of("aether:hammer_of_kingbdogz").withChance(7),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:white_cape").withChance(8),
				Item.of("aether:yellow_cape").withChance(8),
				Item.of("aether:red_cape").withChance(8),
				Item.of("aether:blue_cape").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("idas:chests/ancient_mines/minescreate")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ancient_club").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/catacombs/armory_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3),
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/unicorn_galleon/unicorn_galleon_treasure")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_plus:chests/reanimated_ruins/mossy_map")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_scepter").withChance(3),
				Item.of("forbidden_arcanus:mystical_dagger").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("relics:amphibian_boot").withChance(10),
				Item.of("relics:aqua_walker").withChance(5),
				Item.of("relics:arrow_quiver").withChance(7),
				Item.of("relics:blazing_flask").withChance(4),
				Item.of("relics:chorus_inhibitor").withChance(5),
				Item.of("relics:drowned_belt").withChance(10),
				Item.of("relics:elytra_booster").withChance(3),
				Item.of("relics:enders_hand").withChance(4),
				Item.of("relics:holy_locket").withChance(3),
				Item.of("relics:horse_flute").withChance(7),
				Item.of("relics:hunter_belt").withChance(7),
				Item.of("relics:ice_breaker").withChance(5),
				Item.of("relics:ice_skates").withChance(5),
				Item.of("relics:infinity_ham").withChance(3),
				Item.of("relics:jellyfish_necklace").withChance(7),
				Item.of("relics:leather_belt").withChance(10),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("relics:magma_walker").withChance(5),
				Item.of("relics:midnight_robe").withChance(5),
				Item.of("relics:rage_glove").withChance(10),
				Item.of("relics:reflection_necklace").withChance(5),
				Item.of("relics:relic_experience_bottle").withChance(1),
				Item.of("relics:roller_skates").withChance(5),
				Item.of("relics:shadow_glaive").withChance(4),
				Item.of("relics:space_dissector").withChance(7),
				Item.of("relics:spatial_sign").withChance(5),
				Item.of("relics:spore_sack").withChance(5),
				Item.of("relics:wool_mitten").withChance(5),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("wrd:corrupted_great_scepter").withChance(1),
				Item.of("wrd:ancient_cutlass").withChance(3),
				Item.of("wrd:ancient_club").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_arise_seven_seas:chests/unicorn_galleon/unicorn_galleon_barrels")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("born_in_chaos_v1:shell_mace").withChance(7),
				Item.of("born_in_chaos_v1:spiny_shell_trap").withChance(8),
				Item.of("born_in_chaos_v1:trident_hayfork").withChance(1),
				Item.of("ars_elemental:water_bangle").withChance(5),
				Item.of("reliquary:glowing_water").withChance(8),
				Item.of("reliquary:kraken_shell").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("irons_spellbooks:chests/additional_generic_loot")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:staff_of_magic_arrows").withChance(4),
				Item.of("born_in_chaos_v1:bonescaller_staff").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:pumpkinstaffa").withChance(4),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:novice_spell_book").withChance(4),
				Item.of("ars_noveau:apprentice_spell_book").withChance(4),
				Item.of("ars_noveau:archmage_spell_book").withChance(3),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("ars_noveau:dominion_wand").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_boost").withChance(3),
				Item.of("ars_noveau:amulet_of_mana_regen").withChance(3),
				Item.of("forbidden_arcanus:spectral_eye_amulet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_staff").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:aphrodite_potion").withChance(1),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("reliquary:ender_staff").withChance(4),
				Item.of("reliquary:fertile_potion").withChance(8),
				Item.of("reliquary:glacial_staff").withChance(4),
				Item.of("reliquary:pyromancer_staff").withChance(3),
				Item.of("reliquary:sojourner_staff").withChance(4),
				Item.of("reliquary:witch_hat").withChance(3),
				Item.of("reliquary:magicbane").withChance(4),
				Item.of("reliquary:serpent_staff").withChance(4),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:cloud_staff").withChance(4),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("relics:magic_mirror").withChance(5),
				Item.of("irons_spellbooks:netherite_spell_book").withChance(3),
				Item.of("irons_spellbooks:diamond_spell_book").withChance(4),
				Item.of("irons_spellbooks:gold_spell_book").withChance(4),
				Item.of("irons_spellbooks:iron_spell_book").withChance(4),
				Item.of("irons_spellbooks:copper_spell_book").withChance(4),
				Item.of("irons_spellbooks:evoker_spell_book").withChance(1),
				Item.of("irons_spellbooks:necronomicon_spell_book").withChance(3),
				Item.of("irons_spellbooks:rotten_spell_book").withChance(4),
				Item.of("irons_spellbooks:blaze_spell_book").withChance(4),
				Item.of("irons_spellbooks:dragonskin_spell_book").withChance(3),
				Item.of("irons_spellbooks:villager_spell_book").withChance(4),
				Item.of("irons_spellbooks:druidic_spell_book").withChance(4),
				Item.of("irons_spellbooks:blood_staff").withChance(3),
				Item.of("irons_spellbooks:graybeard_staff").withChance(4),
				Item.of("irons_spellbooks:ice_staff").withChance(4),
				Item.of("irons_spellbooks:artificer_cane").withChance(5),
				Item.of("irons_spellbooks:lightning_rod").withChance(8),
				Item.of("irons_spellbooks:magehunter").withChance(4),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:spellbreaker").withChance(4),
				Item.of("irons_spellbooks:amethyst_rapier").withChance(7),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:hither_thither_wand").withChance(3),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:heavy_chain_necklace").withChance(7),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:conjurers_talisman").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:concentration_amulet").withChance(3),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_great_wand").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:blood_wand").withChance(3),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:pharao_wand").withChance(3),
				Item.of("wrd:emerald_wand").withChance(3),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_wand").withChance(3),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("wrd:acid_wand").withChance(3)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("minecraft:chests/village/village_desert_house")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:nature_staff").withChance(4),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("dungeons_enhanced:chests/castle/cellar")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:shattered_skull").withChance(7),
				Item.of("born_in_chaos_v1:ethereal_spirit").withChance(3),
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:skullbreaker_hammer").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:soul_cutlass").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:death_totem").withChance(3),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:soulbane").withChance(3),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:obsidian_skull").withChance(3),
				Item.of("artifacts:chorus_totem").withChance(3),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:alkahestry_tome").withChance(5),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:bronze_dungeon_key").withChance(5),
				Item.of("aether:silver_dungeon_key").withChance(5),
				Item.of("aether:gold_dungeon_key").withChance(5),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:ancient_fire").withChance(3),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hoe").withChance(8),
				Item.of("stalwart_dungeons:tungsten_pickaxe").withChance(7),
				Item.of("stalwart_dungeons:tungsten_shovel").withChance(8),
				Item.of("stalwart_dungeons:tungsten_hammer").withChance(7),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("stalwart_dungeons:awful_dagger").withChance(10),
				Item.of("stalwart_dungeons:nether_hammer").withChance(7),
				Item.of("wrd:key_bag").withChance(8),
				Item.of("wrd:key_placeholder").withChance(8),
				Item.of("wrd:treasure_room_key").withChance(3),
				Item.of("wrd:secret_room_key").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:pur_pur_key").withChance(8),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:skull_of_flame").withChance(7),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("wrd:death_tome").withChance(3),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5)
			]
		);
});


LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("reliquary:inject/chests/desert_pyramid")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("born_in_chaos_v1:charmof_power").withChance(4),
				Item.of("born_in_chaos_v1:charmof_resistance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_stealth").withChance(5),
				Item.of("born_in_chaos_v1:charmof_endurance").withChance(5),
				Item.of("born_in_chaos_v1:charmof_fury").withChance(5),
				Item.of("born_in_chaos_v1:dark_metal_armor_helmet").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_leggings").withChance(3),
				Item.of("born_in_chaos_v1:dark_metal_armor_boots").withChance(3),
				Item.of("born_in_chaos_v1:darkwarblade").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_helmet").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_chestplate").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_leggings").withChance(3),
				Item.of("born_in_chaos_v1:nightmare_mantleofthe_night_boots").withChance(3),
				Item.of("born_in_chaos_v1:spiritual_sword").withChance(4),
				Item.of("born_in_chaos_v1:sharped_dark_metal_sword").withChance(3),
				Item.of("born_in_chaos_v1:spider_bite_sword").withChance(10),
				Item.of("born_in_chaos_v1:frostbitten_blade").withChance(10),
				Item.of("born_in_chaos_v1:spiny_shell_armor_helmet").withChance(8),
				Item.of("born_in_chaos_v1:spiny_shell_armor_chestplate").withChance(8),
				Item.of("born_in_chaos_v1:damned_demonmans_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:missionary_hat_helmet").withChance(10),
				Item.of("born_in_chaos_v1:spritual_guide_sombrero_helmet").withChance(10),
				Item.of("born_in_chaos_v1:lord_pumkinheads_hat_helmet").withChance(1),
				Item.of("born_in_chaos_v1:sweet_sword").withChance(10),
				Item.of("ars_noveau:ring_of_potential").withChance(5),
				Item.of("ars_noveau:ring_of_lesser_discount").withChance(5),
				Item.of("ars_noveau:ring_of_greater_discount").withChance(5),
				Item.of("forbidden_arcanus:draco_arcanus_sword").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_sword").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_helmet").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_chestplate").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_leggings").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_boots").withChance(3),
				Item.of("forbidden_arcanus:tyr_helmet").withChance(10),
				Item.of("forbidden_arcanus:tyr_chestplate").withChance(8),
				Item.of("forbidden_arcanus:tyr_boots").withChance(10),
				Item.of("forbidden_arcanus:mortem_helmet").withChance(1),
				Item.of("forbidden_arcanus:mortem_chestplate").withChance(1),
				Item.of("forbidden_arcanus:mortem_leggings").withChance(1),
				Item.of("forbidden_arcanus:mortem_boots").withChance(1),
				Item.of("artifacts:charm_of_sinking").withChance(5),
				Item.of("artifacts:onion_ring").withChance(5),
				Item.of("artifacts:rooted_boots").withChance(7),
				Item.of("reliquary:fortune_coin").withChance(11),
				Item.of("aether:holy_sword").withChance(3),
				Item.of("aether:vampire_blade").withChance(1),
				Item.of("aether:lightning_sword").withChance(10),
				Item.of("aether:flaming_sword").withChance(5),
				Item.of("aether:phoenix_bow").withChance(3),
				Item.of("aether:zanite_helmet").withChance(10),
				Item.of("aether:zanite_chestplate").withChance(8),
				Item.of("aether:zanite_leggings").withChance(10),
				Item.of("aether:zanite_boots").withChance(10),
				Item.of("aether:zanite_gloves").withChance(10),
				Item.of("aether:gravitite_helmet").withChance(4),
				Item.of("aether:gravitite_chestplate").withChance(4),
				Item.of("aether:gravitite_leggings").withChance(4),
				Item.of("aether:gravitite_boots").withChance(4),
				Item.of("aether:gravitite_gloves").withChance(4),
				Item.of("aether:obsidian_helmet").withChance(3),
				Item.of("aether:obsidian_chestplate").withChance(3),
				Item.of("aether:obsidian_leggings").withChance(3),
				Item.of("aether:obsidian_boots").withChance(3),
				Item.of("aether:obsidian_gloves").withChance(3),
				Item.of("relics:bastion_ring").withChance(5),
				Item.of("irons_spellbooks:keeper_flamberge").withChance(5),
				Item.of("irons_spellbooks:wandering_magician_helmet").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_chestplate").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_leggings").withChance(3),
				Item.of("irons_spellbooks:wandering_magician_boots").withChance(3),
				Item.of("irons_spellbooks:pumpkin_helmet").withChance(10),
				Item.of("irons_spellbooks:pumpkin_chestplate").withChance(8),
				Item.of("irons_spellbooks:pumpkin_leggings").withChance(10),
				Item.of("irons_spellbooks:pumpkin_boots").withChance(10),
				Item.of("irons_spellbooks:pyromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:pyromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:pyromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:pyromancer_boots").withChance(3),
				Item.of("irons_spellbooks:electromancer_helmet").withChance(3),
				Item.of("irons_spellbooks:electromancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:electromancer_leggings").withChance(3),
				Item.of("irons_spellbooks:electromancer_boots").withChance(3),
				Item.of("irons_spellbooks:archevoker_helmet").withChance(1),
				Item.of("irons_spellbooks:archevoker_chestplate").withChance(1),
				Item.of("irons_spellbooks:archevoker_leggings").withChance(1),
				Item.of("irons_spellbooks:archevoker_boots").withChance(1),
				Item.of("irons_spellbooks:cultist_helmet").withChance(3),
				Item.of("irons_spellbooks:cultist_chestplate").withChance(3),
				Item.of("irons_spellbooks:cultist_leggings").withChance(3),
				Item.of("irons_spellbooks:cultist_boots").withChance(3),
				Item.of("irons_spellbooks:cryomancer_helmet").withChance(3),
				Item.of("irons_spellbooks:cryomancer_chestplate").withChance(3),
				Item.of("irons_spellbooks:cryomancer_leggings").withChance(3),
				Item.of("irons_spellbooks:cryomancer_boots").withChance(3),
				Item.of("irons_spellbooks:shadowwalker_helmet").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_chestplate").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_leggings").withChance(4),
				Item.of("irons_spellbooks:shadowwalker_boots").withChance(4),
				Item.of("irons_spellbooks:priest_helmet").withChance(5),
				Item.of("irons_spellbooks:priest_chestplate").withChance(5),
				Item.of("irons_spellbooks:priest_leggings").withChance(5),
				Item.of("irons_spellbooks:priest_boots").withChance(5),
				Item.of("irons_spellbooks:plagued_helmet").withChance(10),
				Item.of("irons_spellbooks:plagued_chestplate").withChance(8),
				Item.of("irons_spellbooks:plagued_leggings").withChance(10),
				Item.of("irons_spellbooks:plagued_boots").withChance(10),
				Item.of("irons_spellbooks:netherite_mage_helmet").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_chestplate").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_leggings").withChance(3),
				Item.of("irons_spellbooks:netherite_mage_boots").withChance(3),
				Item.of("irons_spellbooks:tarnished_helmet").withChance(10),
				Item.of("irons_spellbooks:mana_ring").withChance(5),
				Item.of("irons_spellbooks:silver_ring").withChance(5),
				Item.of("irons_spellbooks:cooldown_ring").withChance(5),
				Item.of("irons_spellbooks:cast_time_ring").withChance(5),
				Item.of("irons_spellbooks:emerald_stoneplate_ring").withChance(5),
				Item.of("irons_spellbooks:fireward_ring").withChance(4),
				Item.of("irons_spellbooks:frostward_ring").withChance(4),
				Item.of("irons_spellbooks:poisonward_ring").withChance(4),
				Item.of("irons_spellbooks:affinity_ring").withChance(5),
				Item.of("irons_spellbooks:amethyst_resonance_charm").withChance(5),
				Item.of("stalwart_dungeons:tungsten_helmet").withChance(8),
				Item.of("stalwart_dungeons:tungsten_chestplate").withChance(8),
				Item.of("stalwart_dungeons:tungsten_leggings").withChance(8),
				Item.of("stalwart_dungeons:tungsten_boots").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_helmet").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_chestplate").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_leggings").withChance(4),
				Item.of("stalwart_dungeons:warted_tungsten_boots").withChance(4),
				Item.of("stalwart_dungeons:tungsten_shield").withChance(8),
				Item.of("stalwart_dungeons:tungsten_sword").withChance(8),
				Item.of("stalwart_dungeons:warted_tungsten_shield").withChance(4),
				Item.of("wrd:keystrongholdchestnormal").withChance(5),
				Item.of("wrd:keystrongholdchest_iron").withChance(5),
				Item.of("wrd:keystrongholdchest_dungeon").withChance(5),
				Item.of("wrd:keystrongholdchest_library").withChance(5),
				Item.of("wrd:keystrongholdchest_gold").withChance(5),
				Item.of("wrd:keystrongholdchest_treasure").withChance(3),
				Item.of("wrd:keystrongholdchest_redstone").withChance(5),
				Item.of("wrd:keystrongholdchest_diamond").withChance(5),
				Item.of("wrd:keystrongholdchest_bastion").withChance(5),
				Item.of("wrd:keystrongholdchest_bonechest").withChance(5),
				Item.of("wrd:treasure_stronghold_chest_key").withChance(3),
				Item.of("wrd:corrupted_greatarmor_chestplate").withChance(1),
				Item.of("wrd:corrupted_greatarmor_leggings").withChance(1),
				Item.of("wrd:corrupted_greatarmor_boots").withChance(1),
				Item.of("wrd:corrupted_greatsword").withChance(1),
				Item.of("wrd:corrupted_greatarmor_helmet_helmet").withChance(1),
				Item.of("wrd:corrupted_great_crown_helmet").withChance(1),
				Item.of("wrd:corrupted_great_hood_helmet").withChance(1),
				Item.of("wrd:spear").withChance(8),
				Item.of("wrd:bone_sword").withChance(8),
				Item.of("wrd:coral_sword").withChance(10),
				Item.of("wrd:rooted_spear").withChance(7),
				Item.of("wrd:ice_sword").withChance(10),
				Item.of("wrd:ice_spear").withChance(8),
				Item.of("ars_elemental:earth_bangle").withChance(5),
				Item.of("aether:nature_staff").withChance(4)
			]
		);
});


/*
LootJS.modifiers((event) => {
	 event
		.addLootTableModifier("quark:blocks/lootr_dark_oak_trapped_chest")
		.addWeightedLoot(
			[0, 4],
			[
				Item.of("create:shaft").withChance(10),
				Item.of("create:cogwheel").withChance(10),
				Item.of("create:large_cogwheel").withChance(10),
				Item.of("create:gearbox").withChance(10),
				Item.of("born_in_chaos_v1:fused_bone").withChance(8),
				Item.of("born_in_chaos_v1:bone_heart").withChance(7),
				Item.of("born_in_chaos_v1:lifestealer_bone").withChance(8),
				Item.of("born_in_chaos_v1:dark_upgrade").withChance(3),
				Item.of("born_in_chaos_v1:great_reaper_axe").withChance(7),
				Item.of("born_in_chaos_v1:nightmare_scythe").withChance(3),
				Item.of("born_in_chaos_v1:dark_ritual_dagger").withChance(3),
				Item.of("born_in_chaos_v1:intoxicating_dagger").withChance(10),
				Item.of("born_in_chaos_v1:hound_trap").withChance(7),
				Item.of("born_in_chaos_v1:pumpkinhandgun").withChance(10),
				Item.of("born_in_chaos_v1:pumpkin_bullet").withChance(7),
				Item.of("born_in_chaos_v1:sweet_axe").withChance(10),
				Item.of("born_in_chaos_v1:wood_splitter_axe").withChance(10),
				Item.of("born_in_chaos_v1:nut_hammer").withChance(7),
				Item.of("born_in_chaos_v1:stormcallers_horn").withChance(5),
				Item.of("born_in_chaos_v1:phantom_bomb").withChance(5),
				Item.of("born_in_chaos_v1:intoxicatind_bomb").withChance(7),
				Item.of("born_in_chaos_v1:stimulating_bomb").withChance(7),
				Item.of("ars_noveau:source_gem").withChance(7),
				Item.of("ars_elemental:base_bangle").withChance(5),
				Item.of("ars_elemental:fire_bangle").withChance(5),
				Item.of("ars_elemental:air_bangle").withChance(5),
				Item.of("ars_elemental:summon_bangle").withChance(5),
				Item.of("ars_elemental:anima_bangle").withChance(5),
				Item.of("grapplemod:grapplinghook").withChance(5),
				Item.of("forbidden_arcanus:xpetrified_orb").withChance(5),
				Item.of("forbidden_arcanus:orb_of_temporary_flight").withChance(5),
				Item.of("forbidden_arcanus:iron_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:diamond_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:netherite_blacksmith_gavel").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_blacksmith_gavel").withChance(7),
				Item.of("forbidden_arcanus:slimec_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:draco_arcanus_shovel").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_pickaxe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_axe").withChance(3),
				Item.of("forbidden_arcanus:draco_arcanus_hoe").withChance(3),
				Item.of("forbidden_arcanus:reinforced_deorum_shovel").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_pickaxe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_axe").withChance(7),
				Item.of("forbidden_arcanus:reinforced_deorum_hoe").withChance(7),
				Item.of("forbidden_arcanus:tyr_leggings").withChance(10),
				Item.of("artifacts:umbrella").withChance(5),
				Item.of("artifacts:eternal_steak").withChance(2),
				Item.of("artifacts:plastic_drinking_hat").withChance(10),
				Item.of("artifacts:novelty_drinking_hat").withChance(8),
				Item.of("artifacts:snorkel").withChance(5),
				Item.of("artifacts:night_vision_goggles").withChance(5),
				Item.of("artifacts:villager_hat").withChance(10),
				Item.of("artifacts:superstitious_hat").withChance(10),
				Item.of("artifacts:cowboy_hat").withChance(10),
				Item.of("artifacts:anglers_hat").withChance(10),
				Item.of("artifacts:lucky_scarf").withChance(7),
				Item.of("artifacts:scarf_of_invisibility").withChance(5),
				Item.of("artifacts:cross_necklace").withChance(7),
				Item.of("artifacts:panic_necklace").withChance(7),
				Item.of("artifacts:shock_pendant").withChance(7),
				Item.of("artifacts:flame_pendant").withChance(7),
				Item.of("artifacts:thorn_pendant").withChance(7),
				Item.of("artifacts:antidote_vessel").withChance(7),
				Item.of("artifacts:universal_attractor").withChance(7),
				Item.of("artifacts:crystal_heart").withChance(4),
				Item.of("artifacts:helium_flamingo").withChance(5),
				Item.of("artifacts:digging_claws").withChance(7),
				Item.of("artifacts:feral_claws").withChance(7),
				Item.of("artifacts:power_glove").withChance(4),
				Item.of("artifacts:fire_gauntlet").withChance(3),
				Item.of("artifacts:pocket_piston").withChance(10),
				Item.of("artifacts:vampiric_glove").withChance(1),
				Item.of("artifacts:golden_hook").withChance(7),
				Item.of("artifacts:pickaxe_heater").withChance(7),
				Item.of("artifacts:aqua_dashers").withChance(5),
				Item.of("artifacts:bunny_hoppers").withChance(5),
				Item.of("artifacts:kitty_slippers").withChance(5),
				Item.of("artifacts:running_shoes").withChance(10),
				Item.of("artifacts:snowshoes").withChance(10),
				Item.of("artifacts:steadfast_spikes").withChance(5),
				Item.of("artifacts:flippers").withChance(5),
				Item.of("artifacts:whoopee_cushion").withChance(5),
				Item.of("reliquary:mercy_cross").withChance(8),
				Item.of("reliquary:angelheart_vial").withChance(3),
				Item.of("reliquary:angelic_feather").withChance(3),
				Item.of("reliquary:destruction_catalyst").withChance(3),
				Item.of("reliquary:emperor_chalice").withChance(1),
				Item.of("reliquary:holy_hand_grenade").withChance(3),
				Item.of("reliquary:harvest_rod").withChance(8),
				Item.of("reliquary:hero_medallion").withChance(1),
				Item.of("reliquary:ice_magus_rod").withChance(8),
				Item.of("reliquary:infernal_chalice").withChance(1),
				Item.of("reliquary:infernal_claws").withChance(1),
				Item.of("reliquary:infernal_tear").withChance(1),
				Item.of("reliquary:midas_touchstone").withChance(11),
				Item.of("reliquary:phoenix_down").withChance(3),
				Item.of("reliquary:rending_gale").withChance(5),
				Item.of("reliquary:rod_of_lyssa").withChance(8),
				Item.of("reliquary:witherless_rose").withChance(7),
				Item.of("reliquary:lantern_of_paranoia").withChance(8),
				Item.of("reliquary:salamander_eye").withChance(7),
				Item.of("reliquary:twilight_cloak").withChance(1),
				Item.of("reliquary:fertile_lily_pad").withChance(5),
				Item.of("sophisticatedbackpacks:backpack").withChance(8),
				Item.of("sophisticatedbackpacks:copper_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:iron_backpack").withChance(8),
				Item.of("sophisticatedbackpacks:gold_backpack").withChance(7),
				Item.of("sophisticatedbackpacks:diamond_backpack").withChance(5),
				Item.of("sophisticatedbackpacks:netherite_backpack").withChance(3),
				Item.of("sophisticatedbackpacks:pickup_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:magnet_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:feeding_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:everlasting_upgrade").withChance(3),
				Item.of("sophisticatedbackpacks:smelting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:crafting_upgrade").withChance(5),
				Item.of("sophisticatedbackpacks:jukebox_upgrade").withChance(5),
				Item.of("wrd:trial_stone").withChance(5),
				Item.of("wrd:chalk_marker_blue").withChance(11),
				Item.of("wrd:chalk_marker_green").withChance(11),
				Item.of("wrd:chalk_marker_red").withChance(11),
				Item.of("wrd:corrupted_greataxe").withChance(1),
				Item.of("wrd:corrupted_pickaxe").withChance(1),
				Item.of("wrd:corrupted_shovel").withChance(1),
				Item.of("wrd:corrupted_hoe").withChance(1),
				Item.of("wrd:stun_baton").withChance(5),
				Item.of("wrd:throwable_bomb").withChance(7),
				Item.of("wrd:ceremony_knife").withChance(7),
				Item.of("wrd:bamboo_mace").withChance(7),
				Item.of("wrd:blowdart").withChance(7),
				Item.of("wrd:sharpened_pickaxe").withChance(7),
				Item.of("wrd:weaponised_torch").withChance(5),
				Item.of("wrd:throwable_icicle").withChance(5),
				Item.of("wrd:throwable_ice_bomb").withChance(7),
				Item.of("wrd:throwable_firebomb").withChance(7),
				Item.of("wrd:bone_crusher").withChance(5)
			]
		);
});
*/


